﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true"
    CodeBehind="NavigationResult.aspx.cs" Inherits="WebApplication1.NavigationResult" %>

<asp:Content ID="HeaderContent" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
    <div class="main">
        <div id="s_bodya">
            <span>
            <div style="float:left;">
                <asp:TextBox ID="tbxSearch" CssClass="search_input" Text="输入您的地址或所在学校" runat="server"></asp:TextBox>
                </div>
            </span><span class="inputb">
                <asp:ImageButton ID="ibSearch" ImageUrl="images/s003.gif" runat="server" ClientIDMode="Static"
                    OnClick="ibSearch_Click" /></span>
            <div class="c">
            </div>
        </div>
        <div style="clear:both;"></div>
    </div>
    <div class="main">
        <div class="list">
            <div class="title">
                资源下载</div>
            <div class="c fllist">
                <asp:Repeater ID="RepeaterDownLoad" runat="server">
                    <HeaderTemplate>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td width="8%" height="40">
                                <a href="DownLoadPage.aspx?id=<%#Eval("Id") %>">下载</a>
                            </td>
                            <td width="27%">
                                <%#Eval("TagName") %>
                            </td>
                            <td width="20%">
                                <%#Eval("OriginName") %>
                            </td>
                            <td width="15%" style="text-align:center;">
                                <%#Eval("UserName") %>
                            </td>
                            <td width="30%">
                                <%#Eval("UploadTime") %>
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </div>
        </div>
        <div class="list height30">
            <div class="title">
                教育新闻</div>
            <div class="c fllist">
                <asp:Repeater ID="RepeaterNews" runat="server">
                    <HeaderTemplate>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td width="8%" height="40">
                                <a href="NewsRead.aspx?newsid=<%#Eval("Id") %>">浏览</a>
                            </td>
                            <td width="40%">
                                <a href="NewsRead.aspx?newsid=<%#Eval("Id") %>">
                                    <%#Eval("Title") %></a>
                            </td>
                            <td width="20%">
                                <%#Eval("UploadTime") %>
                            </td>
                            <td width="10%">
                                <%#Eval("UserName") %>
                            </td>
                            <td width="10%">
                                浏览：<%#Eval("ViewCount") %>次
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </div>
        </div>
        <div class="list height30 list_i">
            <div class="title">
                备考辅导，推荐书籍</div>
            <div class="c fllist">
                <asp:Repeater ID="RepeaterBook" runat="server">
                    <HeaderTemplate>
                        <table width="100%" border="0" cellspacing="2" cellpadding="2">
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td width="19%" height="40">
                                <a href="<%#Eval("BookUrl") %>">
                                    <img src="ShowImage.aspx?id=<%#Eval("Id") %>" height="189" width="173" /></a>
                            </td>
                            <td width="81%">
                                <a href="<%#Eval("BookUrl") %>">
                                    <%#Eval("BookName") %><br />
                                </a>
                                <%#Eval("BookDescription") %>
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </div>
        </div>
    </div>
    
</asp:Content>
